| Total Complexity | 2 |
| Total Lines | 8 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | import { MigrationInterface, QueryRunner } from 'typeorm'; |
||
| 2 | |||
| 3 | export class removeInvoices1678458554609 implements MigrationInterface { |
||
| 4 | public async up(queryRunner: QueryRunner): Promise<void> { |
||
| 5 | await queryRunner.query(`DROP TABLE "invoice_item"`); |
||
| 6 | await queryRunner.query(`DROP TABLE "invoice"`); |
||
| 7 | } |
||
| 8 | |||
| 9 | public async down(queryRunner: QueryRunner): Promise<void> { |
||
| 10 | // noop. |
||
| 13 |